const config = {
  tagsView: true,
  title: '',
  fixedHeader: true,
  sidebarLogo: true,
  // ak: 'GI7FY55anXZhGMnI4sM0ixXPfb5wHwEU',
  ak: 'wX31daA8XmVTURDw0z9ECjQ3VtCvKmes',

  isDebug: true,
  baseUrl: '',
  api: {
    company: "/rhws/company/list",
    offLine: "/rhws/productionLine/lists",
    factory: "/rhws/factory/lists"
  }
}
const mode = "local";
const conf = {
  local: {
    // baseUrl: "http://172.16.20.7:8081/",
    baseUrl: 'http://192.168.5.149:8057',
    // baseUrl: "https://debug-api.rhwsdt.com",
    imgBaseUrl: "https://rhws.oss-cn-chengdu.aliyuncs.com/pc/",
    ossBaseUrl: "https://rhws.oss-cn-chengdu.aliyuncs.com",
  },
  dev: {
    baseUrl: "https://debug-api.rhwsdt.com",
    imgBaseUrl: "https://rhws.oss-cn-chengdu.aliyuncs.com/pc/",
    ossBaseUrl: "https://rhws.oss-cn-chengdu.aliyuncs.com",
  },
  prod: {
    baseUrl: "https://api-app.rhwsdt.com",
    imgBaseUrl: "https://rhws.oss-cn-chengdu.aliyuncs.com/pc/",
    ossBaseUrl: "https://rhws.oss-cn-chengdu.aliyuncs.com",
  }
}


let env = conf[mode];
let ossign = Object.assign({}, config, env);
exports.imgBaseUrl = ossign.imgBaseUrl;
module.exports = ossign;
